﻿@model KXCXW.Web.Models.RegisterModel
@{
    ViewBag.Title = "注册-个人用户";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<a href="@Url.Action("index", "home", null)">
    <img src="@Url.Content("~/Content/img/logo.gif")" /></a>
<div class="registercontent">
    @using (Html.BeginForm())
    {
            <fieldset style="border: 0px;">
            <div class="field" style="height:30px">@Html.ValidationSummary(true, "帐户创建失败!请更正错误，重试!")</div>
                <div class="field">
                    <div class="editor-label">
                        登 录 名：
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </div>
                    <label>
                        用户名长度4-18个字符，包括字母、数字、下划线</label>
                </div>
                <div class="field">
                    <div class="editor-label">
                        密 码：
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                    <label>
                        密码至少 @ViewBag.PasswordLength-16 个字符长度，包括字母、数字、下划线</label>
                </div>
                <div class="field">
                    <div class="editor-label">
                        确认密码：
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.ConfirmPassword)
                        @Html.ValidationMessageFor(m => m.ConfirmPassword)
                    </div>
                    <label>
                        请再一次输入您的密码</label>
                </div>
                <div class="field">
                    <div class="editor-label">
                        邮 箱：
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(m => m.Email)
                        @Html.ValidationMessageFor(m => m.Email)
                    </div>
                    <label>
                        用以找回密码。免费邮箱：<a class="flk13" href="http://login.mail.sohu.com/rapidReg/cooregister.jsp?form=kxcxw.com"
                            target="_blank">搜狐</a> <a class="flk13" href="http://reg.email.163.com/mailregAll/reg0.jsp?from=kxcxw.com"
                                target="_blank">网易</a></label>
                </div>
                <div style="float: left; margin-left: 77px; display: inline;">
                    <input class="btn_mid" type="submit" value="注   册" />
                </div>
            </fieldset>
    }
</div>
